//package com.hilin.hilinim.netty.ws.amqp;
//
//import com.hilin.hilinim.netty.ws.WsMsgReceive;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.amqp.core.Message;
//import org.springframework.amqp.core.MessageListener;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
//
//@Slf4j
//@Component
//public class MQReceive implements MessageListener {
//
//    @Autowired
//    private WsMsgReceive wsMsgReceive;
//
//    @Override
//    public void onMessage(Message message) {
//        wsMsgReceive.onMessage(new String(message.getBody()));
//    }
//}
